export const Texts = `
import { IvMap } from "@/components"
import { message } from "antd"

function MapDom(){
  function clickHandler(e){
    message.success('点击了地图')

  }
  function clickMarker(e){
    message.success('你点击了标记')

  }
  return (
 <div>
    // position={[114.06455 , 22.54846 ]} position不传则是定位当前城市位置
      <IvMap  position={[114.06455 , 22.54846 ]} clickMarker={clickMarker} clickHandler={clickHandler}></IvMap>
 </div>
  )
}
export default MapDom
`